Central Article

Using Regular Expressions in Macromedia Central


Byron Saltysiak

Byron Saltysiak

 

Table of Contents

  1. Introduction
  2. Regular Expressions Explained
  3. Regular Expression Syntax
  4. Implementing Regular Expressions in Central
  5. Testing Tips and Useful Examples
  6. Resources

Regular expressions are one of the most powerful new features built into Macromedia Central—so powerful that many people wish they were part of Macromedia Flash Player, and some people have even created them on occasion in custom classes. As text patterns, regular expressions can be searched for in strings of text and then be used in different ways to return a large variety of results.

Now that Macromedia has built them into Macromedia Central, and based them on Perl regular expression syntax and the ECMAScript 4 implementation, you have a standard way to utilize them.

This article covers regular expressions from the ground up. If you are already familiar with regular expressions and Perl syntax, skip straight to "Implementing Regular Expressions in Central" for Central-specific usage.



About the author

Byron Saltysiak works for Turner Entertainment Group, where he's built websites, content management systems, web applications, and interactive TV applications since 2000. A member of Team Macromedia, Byron is a software developer who uses Java and Vignette, as well as Macromedia Central and Flash. He likes using Flash because of its power as an intelligent client. You can reach him at byron@saltysiak.com.